home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 4.2 KB | 114 lines | [TEXT/MPS ] |
- /*
- File: DriverGestalt.idl
-
- Contains: Driver Gestalt interfaces
-
- Version: Technology: System 7.5
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __DRIVERGESTALT_IDL__
- #define __DRIVERGESTALT_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #ifndef __OSUTILS_IDL__
- #include <OSUtils.idl>
- #endif
- #ifndef __SCSI_IDL__
- #include <SCSI.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- #if FOR_SYSTEM7_ONLY
- /*__________________________________________________________________________________*/
- /* The Driver Gestalt bit in the dCtlFlags */
- /*__________________________________________________________________________________*/
- /* Driver Gestalt related csCodes */
- /*__________________________________________________________________________________*/
- /* Driver Gestalt selectors */
- /*__________________________________________________________________________________*/
- /* status parameter block for Driver Gestalt calls */
- typedef SOMLargeStruct DriverGestaltParam; /* Derived from a struct of 50 bytes in size */
-
- /*
- Note that the various response definitions are overlays of the response fields above.
- For instance the deviceType response would be returned in driverGestaltResponse.
- The DriverGestaltPurgeResponse would be in driverGestaltResponse and driverGestaltResponse1
- */
- /* GetDriverGestaltDevTResponse(gestaltPtr)->deviceType */
- /*__________________________________________________________________________________*/
- /* Device Types response */
- typedef SOMFourByteStruct DriverGestaltDevTResponse; /* Derived from a struct of 4 bytes in size */
-
- /*__________________________________________________________________________________*/
- /* Device Interfaces response */
- typedef SOMFourByteStruct DriverGestaltIntfResponse; /* Derived from a struct of 4 bytes in size */
-
- /*__________________________________________________________________________________*/
- /* Power Saving */
- typedef SOMFourByteStruct DriverGestaltPowerResponse; /* Derived from a struct of 4 bytes in size */
-
- /*__________________________________________________________________________________*/
- /* Disk Specific */
- typedef SOMFourByteStruct DriverGestaltSyncResponse; /* Derived from a struct of 4 bytes in size */
-
- typedef SOMFourByteStruct DriverGestaltBootResponse; /* Derived from a struct of 4 bytes in size */
-
- typedef SOMLargeStruct DriverGestaltAPIResponse; /* Derived from a struct of 22 bytes in size */
-
- /* Flags for purge permissions */
- /* Driver purge permission structure */
- typedef SOMLargeStruct DriverGestaltPurgeResponse; /* Derived from a struct of 8 bytes in size */
-
- typedef SOMFourByteStruct DriverGestaltEjectResponse; /* Derived from a struct of 4 bytes in size */
-
- /* Flags for Ejection Features field */
- /*__________________________________________________________________________________*/
- /* CD-ROM Specific */
- /*
- The CDDeviceCharacteristics result is returned in csParam[0] and csParam[1] of a
- standard CntrlParam parameter block called with csCode kdgGetCDDeviceInfo.
- */
- typedef SOMFourByteStruct CDDeviceCharacteristics; /* Derived from a struct of 4 bytes in size */
-
- /* Flags for CD Features field */
- /* Transport types */
- /*
- the following are used by PC Exchange (and houdini)
- Control Codes
- */
- /* Status Codes*/
- /* the result codes to come from the driver interface */
- /* requisite structures for PCX control and status calls*/
- /* GestaltSelector for Finding Driver information*/
- /* Partition information passed back and forth between PCX and the driver*/
- typedef SOMLargeStruct partInfoRec; /* Derived from a struct of 12 bytes in size */
-
- typedef OpaquePtr partInfoRecPtr; /* Substituted OpaquePtr for “partInfoRec*” */
-
- typedef SOMFourByteStruct vPartInfoRec; /* Derived from a struct of 4 bytes in size */
-
- typedef OpaquePtr vPartInfoRecPtr; /* Substituted OpaquePtr for “vPartInfoRec*” */
-
- /* Information related to DOS partitions*/
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __DRIVERGESTALT_IDL__ */
-
-